package org.balabala.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.balabala.user.entity.CommentEntity;
import org.balabala.user.utils.PageUtils;
import org.balabala.user.utils.Resp;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:53
 */
public interface CommentService extends IService<CommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils listByUid(Map<String, Object> hashMap);

    Resp removeByCommentId(Long commentId);

    Resp saveComment(CommentEntity comment);

    PageUtils queryPageBatchList(HashMap<String,Object> hashMap);

    boolean batchDelete(Long[] commentIds);
}

